<#assign base=request.contextPath />
<!DOCTYPE html>
<html>
<head>
<title>客户关系管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="javascript" src="${base}/script/jquery.js"></script>
<script language="javascript" src="${base}/script/jquery.treeview.js"></script>
<link type="text/css" rel="stylesheet" href="${base}/jquery.treeview.css" />
<script type="text/javascript">
	$(function() {
		$("#tree").treeview({collapsed: true,unique:true});
	});
</script>
<!--
1、animated：String or Number
设置展开子节点时的显示速度，有 slow、normal、fast 或者指定速度值，与 jQuery 的 hide（show）中的 speed 参数相似。

2、persist：String
记忆折叠的方式。location：页面刷新不保留折叠状态；cookie：页面刷新保留折叠状态。

3、collapsed：boolean　　Default: false, all expanded
初始化时的折叠状态。true，初始化为收缩节点状态；false，为全部节点展开。

4、unique：boolean　　Default: false
展开同级节点的唯一性。true，当展开一个节点时，同级的其他节点会自动关闭；false，当展开一个节点时，同级的其他节点保持原形。

5、control：Selector
指定一个容器,控制整个tree的展开,收缩 或者收放 所有的节点。
$(".selector").treeview({
   control: "#container"
})
6.toggle：Callback
当一个节点的收放状态改变时，调用自定义函数Callback。

example

$(".selector").treeview({
   toggle: function() {
       console.log(this + " has been toggle");
   }
})
7.add：Selector
向已有的树中追加节点，selector 为需要追加的节点集合，该集合中的节点须与已有树的节点结构保持一致。

var tree = $(".selector").treeview();
$(".button").click(function() {
  var newSublist =  $("<li><span class='folder'>New Sublist</span><ul>" +
     "<li><span class='file'>Item1</span></li>" +
     "<li><span class='file'>Item2</span></li></ul></li>").appendTo(tree);
  tree.treeview({
    add: newSublist
  });
});

8.cookieId：String
设置 persist: cookie 后 用此参数设置cookie 的名称。

9.url：String
异步加载时，设置url 地址。
-->
<style>
body{font-size:12px}
span{font-size:12px}
A:link {
  color: black; text-decoration: none
 }
 A:visited {
  color: red; text-decoration: none
 }
 A:hover {
  color: green; text-decoration: none
 }
</style>
</head>
<body>
	<div id="MainArea">
		<div class="ItemBlockBorder">
			<div class="ItemBlock">
				<table cellpadding="0" cellspacing="0" class="mainForm">
					<tbody id="TableData">
						<tr class="TableDetail1">
							<td>

								<ul id='tree'>
									<li id='li_45'><label for='cb_45'><span
											class='folder' id='45'>营销管理</span>
									</label>
										<ul>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a href="${base}/refer/list"
														target="text">销售机会管理</a>
												</span>
											</label></li>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a href="${base}/refer/dev"
														target="text">客户开发计划</a>
												</span>
											</label></li>
										</ul></li>
									<li id='li_45'><label for='cb_45'><span
											class='folder' id='45'>客户管理</span>
									</label>
										<ul>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a
														href="${base}/customer/list" target="text">客户信息管理</a>
												</span>
											</label></li>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a
														href="${base}/runoff/list" target="text">客户流失管理</a>
												</span>
											</label></li>
										</ul></li>
									<li id='li_45'><label for='cb_45'><span
											class='folder' id='45'>服务管理</span>
									</label>
										<ul>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a
														href="${base}/server/queryBefore" target="text">服务创建</a>
												</span>
											</label></li>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a
														href="${base}/server/dispatch" target="text">服务分配</a>
												</span>
											</label></li>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a
														href="${base}/server/deal" target="text">服务处理</a>
												</span>
											</label></li>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a
														href="${base}/server/feedback" target="text">服务反馈</a>
												</span>
											</label></li>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a
														href="${base}/server/arch" target="text">服务归档</a>
												</span>
											</label></li>
										</ul></li>
									<li id='li_45'><label for='cb_45'><span
											class='folder' id='45'>统计报表</span>
									</label>
										<ul>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a href="${base}/rept/contr"
														target="text">客户贡献分析</a>
												</span>
											</label></li>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a href="${base}/rept/cons"
														target="text">客户构成分析</a>
												</span>
											</label></li>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a href="${base}/rept/server"
														target="text">客户服务分析</a>
												</span>
											</label></li>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a href="${base}/rept/lost"
														target="text">客户流失分析</a>
												</span>
											</label></li>
										</ul></li>
									<li id='li_45'><label for='cb_45'><span
											class='folder' id='45'>基础数据</span>
									</label>
										<ul>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a href="${base}/dictionary/list"
														target="text">数据字典管理</a>
												</span>
											</label></li>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a href="${base}/product/list"
														target="text">查询产品信息</a>
												</span>
											</label></li>
											<li id='li_46'><label for='cb_46'><span
													class='folder' id='46'> <a href="${base}/storage/list"
														target="text">查询库存</a>
												</span>
											</label></li>
										</ul></li>
								</ul></td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
</body>
</html>



